/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg23designpatterns.za.ac.cput.structural.bridge;

/**
 *
 * @author Oceanwave
 */
public class BigBus extends Vehicle 
{

    public BigBus (Engine engine)
    {
        this.weightInKilos = 3000;
        this.engine = engine;
    }

    @Override
    public void drive() 
    {
        System.out.println("\nThe big bus is driving");
        int horsepower = engine.go();
        reportOnSpeed(horsepower);
    }
}
